package com.usian.admin.controller;

import com.usian.admin.feign.WemediaFeign;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.wemedia.pojos.WmNews;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    private WemediaFeign feign;
    @GetMapping("p")
    public WmNews p(){
        return feign.findById(6190);
    }
}
